const Const = {
  /*
   * 系统
   */
  // 成功
  OK: '00200',
  SAVE_SUCCESS: '00210',
  UPDATE_SUCCESS: '00220',
  DELETE_SUCCESS: '00230',
  COMMIT_SUCCESS: '00250',
  // 失败
  ERROR: '00400',
  FORBIDDEN: '00403',
  NOT_FOUND: '00404',
  SAVE_ERROR: '00410',
  UPDATE_ERROR: '00420',
  ILLEGAL_PARAMS: '00421',
  METHOD_NOT_ALLOWED: '00422',
  DELETE_ERROR: '00430',
  DELETE_NOT_FOUND: '00431',
  COMMIT_ERROR: '00450',
  INTERNAL_SERVER_ERROR: '00500',
  MISSING_REQUEST_BODY: '00610',

  // server
  SERVER_URL: 'http://10.3.64.102:8080/web/commonLogin.htm',
  // 发布平台文件下载
  FBPT_URL: 'http://10.3.115.131/fbpt/doc/',
  IMAGE_URL: 'http://10.3.64.212:8087/file/download?xzdz=',
  // 文件最大长度
  MAX_FILE_LENGTH: 10485760,
  // 文件保存分配地址
  FILE_TYPE: 'tydl'

}

export default {
  install(Vue, options) {
    Vue.prototype.Const = Const
  }
}
